-
Notifications
You must be signed in to change notification settings - Fork 621
[SDK] expose getUserOpHash utility function #6424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] expose getUserOpHash utility function #6424
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (72.22%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #6424 +/- ##
=======================================
Coverage 54.61% 54.62%
=======================================
Files 874 874
Lines 54723 54743 +20
Branches 3710 3713 +3
=======================================
+ Hits 29886 29902 +16
- Misses 24742 24746 +4
Partials 95 95
🚀 New features to boost your workflow:
|

PR-Codex overview
This PR focuses on enhancing the
signMessagefunctionality across several components in thethirdwebwallet library, while introducing a new utility functiongetUserOpHashfor hashing user operations.Detailed summary
getUserOpHashfunction to hash user operations.signMessageinwallet.tsto acceptoriginalMessageandchainId.signMessageinsign-message.enclave.tsto include new parameters.signMessageinenclave-wallet.tsto handle additional data.signUserOpto utilizegetUserOpHashand pass new parameters.